Package-level declarations

Types

Link copied to clipboard
data class ActiveAuthProof(val challenge: ByteArray, val signature: ByteArray, val certificate: ByteArray)

Raw proof material from active authentication, carried inside a CeiIdentityClaim.

Link copied to clipboard
sealed class ActiveAuthStatus

Result of active authentication — verifies that the chip is the original chip and has not been cloned or replaced.

Link copied to clipboard
data class CeiIdentityClaim(val identity: IdentityData, val personalData: PersonalData?, val passiveAuthProof: PassiveAuthProof, val activeAuthProof: ActiveAuthProof?, val issuedAt: Long, val cardSerialNumber: String?)

A self-contained, backend-verifiable identity claim produced from a single card session.

Link copied to clipboard
data class IdentityData(val lastName: String, val firstName: String, val sex: String, val dateOfBirth: String, val cnp: String, val nationality: String)

Personal identity data read from the ICAO EDATA applet (DG1).

Link copied to clipboard
data class PassiveAuthProof(val sodBytes: ByteArray, val docSigningCert: ByteArray, val cscaCert: ByteArray)

Raw proof material from passive authentication, carried inside a CeiIdentityClaim.

Link copied to clipboard
sealed class PassiveAuthStatus

Result of passive authentication — verifies that the data on the card was signed by the Romanian state (MAI) and has not been tampered with.

Link copied to clipboard
data class PersonalData(val birthPlace: String?, val documentNumber: String?, val issuingAuthority: String?, val issueDate: String?, val expiryDate: String?, val address: String?)

Extended personal data read from the EDATA applet (DG2–DG9).

Link copied to clipboard
sealed class ReadEvent

Progress events emitted by ro.eidkit.sdk.CeiReader.readFlow.

Link copied to clipboard
data class ReadResult(val photo: ByteArray?, val signatureImage: ByteArray?, val identity: IdentityData?, val personalData: PersonalData?, val passiveAuth: PassiveAuthStatus, val activeAuth: ActiveAuthStatus, val claim: CeiIdentityClaim?)

The result of a ro.eidkit.sdk.CeiReader session.

Link copied to clipboard
sealed class SignEvent

Progress events emitted by ro.eidkit.sdk.CeiSigner.executeFlow.

Link copied to clipboard
data class SignResult(val signature: ByteArray, val certificate: ByteArray)

The result of a ro.eidkit.sdk.CeiSigner session.